org.quilt.cl
Interface GraphXformer

All Known Implementing Classes:
GraphAction, GraphTalker

public interface GraphXformer

Transform the graph, possibly using information from ClassGen and MethodGen. If fatal errors occur, transformers must issue a warning message on System.err and either undo any changes or set cfg to null.

Author:
Jim Dixon

Method Summary
 void xform(org.apache.bcel.generic.ClassGen cg, org.apache.bcel.generic.MethodGen method, ControlFlowGraph cfg)
          Apply the transformation to the graph.
 

Method Detail

xform

public void xform(org.apache.bcel.generic.ClassGen cg,
                  org.apache.bcel.generic.MethodGen method,
                  ControlFlowGraph cfg)
Apply the transformation to the graph.

Parameters:
cg - The class being transformed.
method - MethodGen for the method being transformed.
cfg - The method's control flow graph.


Copyright © 2001-2003 Apache Software Foundation. All Rights Reserved.